<script type="text/javascript">
	jQuery(document).ready(function(){
    	jQuery("#form1").validationEngine();
   });
</script>
<form id="form1" name="form1" method="post" action="<?php echo $do_addedit_link;?>" enctype="multipart/form-data">
  <table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td align="left" class="block-block"><?php echo $action?> Content</td>
    </tr>
    <tr>
      <td class="border_add"><table width="70%" border="0" align="left" cellpadding="4" cellspacing="4">
          <tr>
            <td align="right" valign="middle" nowrap="nowrap"><span class="error">*</span>Title</td>
            <td align="center" valign="middle">:</td>
            <td colspan="2"><input name="title" type="text" id="title" class="validate[required] textbox" value="<?php echo $title?>" style="width:450px;" autocomplete="off"/>
              &nbsp;&nbsp;<?php echo form_error('title'); ?></td>
          </tr>
		  <tr>
            <td align="right" valign="middle" nowrap="nowrap"><span class="error">*</span>Meta Title</td>
            <td align="center" valign="middle">:</td>
            <td colspan="2"><input name="meta_title" type="text" id="meta_title" class="validate[required] textbox" value="<?php echo $meta_title?>" style="width:450px;" autocomplete="off"/>
              &nbsp;&nbsp;<?php echo form_error('meta_title'); ?></td>
          </tr>
		  <tr>
            <td align="right" valign="middle" nowrap="nowrap"><span class="error">*</span>Meta Keywords</td>
            <td align="center" valign="middle">:</td>
            <td colspan="2"><input name="meta_keywords" type="text" id="meta_keywords" class="validate[required] textbox" value="<?php echo $meta_keywords?>" style="width:450px;" autocomplete="off"/>
              &nbsp;&nbsp;<?php echo form_error('meta_keywords'); ?></td>
          </tr>
		  <tr>
            <td align="right" valign="middle" nowrap="nowrap"><span class="error">*</span>Meta Description</td>
            <td align="center" valign="middle">:</td>
            <td colspan="2"><input name="meta_description" type="text" id="meta_description" class="validate[required] textbox" value="<?php echo $meta_description?>" style="width:450px;" autocomplete="off"/>
              &nbsp;&nbsp;<?php echo form_error('meta_description'); ?></td>
          </tr>
          <tr>
            <td align="right" valign="top" nowrap="nowrap">Content</td>
            <td align="center" valign="top">:</td>
            <td colspan="2"><?php echo $this->fckeditor->Create('content',$content) ; ?></td>
          </tr>
	 
          <tr>
            <td align="right" valign="middle">&nbsp;</td>
            <td align="center" valign="middle">&nbsp;</td>
            <td colspan="2"><input type="submit" name="Submit" value=" Submit " onmouseover="this.className='normal-bttn1'" onmouseout="this.className='normal-bttn'" class="normal-bttn" />
              &nbsp;&nbsp;
              <input name="Submit2" type="button" value="Cancel" onmouseover="this.className='normal-bttn1'" onmouseout="this.className='normal-bttn'" class="normal-bttn" onclick="location.href='<?php echo $back_link?>'"></td>
          </tr>
          <tr>
            <td align="right" valign="middle">&nbsp;</td>
            <td align="center" valign="middle">&nbsp;</td>
            <td colspan="2">&nbsp;</td>
          </tr>
        </table></td>
    </tr>
  </table>
</form>
